import { Page, Browser, launch } from "puppeteer";

class actions{
    public async gourl(page:Page,url:string){
        await page.goto(url);
    }
}

async function main(){
    const action =new actions();
    let browser :Browser= await launch();
    let page:Page =await browser.newPage();
    action.gourl(page,'');
}